Skip to content

feat(telemetry): add OTLP export writer#961

Open
EhabY wants to merge 1 commit into
feat/issue-903-export-telemetry-json-writerfrom
feat/issue-903-export-telemetry-otlp-writer
Open

feat(telemetry): add OTLP export writer#961
EhabY wants to merge 1 commit into
feat/issue-903-export-telemetry-json-writerfrom
feat/issue-903-export-telemetry-otlp-writer

Conversation

@EhabY
Copy link
Copy Markdown
Collaborator

@EhabY EhabY commented May 17, 2026

Summary

  • add OTLP/JSON mapping for telemetry logs, spans, and metric-shaped events
  • add .otlp.zip export writing with POST-ready logs.json, traces.json, and metrics.json
  • extend writer tests to cover signal routing and OTLP zip contents

Refs #903.

Stack: 3 / 4. Base: #960. Next: #953.

Review follow-up

  • exports spans as internal spans instead of unspecified spans
  • includes window start timestamps for HTTP percentile gauges
  • closes partially opened OTLP writers when setup fails
  • drains queued zip writes before closing file handles on error paths

Validation

  • pnpm test:extension ./test/unit/telemetry/export/range.test.ts ./test/unit/telemetry/export/files.test.ts ./test/unit/telemetry/export/writers.test.ts
  • pnpm typecheck
  • pnpm lint
  • pnpm format:check

Generated by Coder Agents.

@EhabY EhabY self-assigned this May 17, 2026
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-json-writer branch from 199d2e7 to 3a29ac9 Compare May 17, 2026 19:42
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-otlp-writer branch from ab7dcf4 to acadd7e Compare May 17, 2026 19:42
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-json-writer branch from 3a29ac9 to eb776a7 Compare May 18, 2026 17:03
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-otlp-writer branch from acadd7e to 29c269d Compare May 18, 2026 17:03
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-json-writer branch 2 times, most recently from ba095a9 to 8066586 Compare May 19, 2026 10:00
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-otlp-writer branch 2 times, most recently from 5a186aa to 5ee4862 Compare May 19, 2026 10:44
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-json-writer branch from 3d77d32 to c9c3b74 Compare May 19, 2026 11:02
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-otlp-writer branch from 5ee4862 to 539131f Compare May 19, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant